home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 5 / Apprentice-Release5.iso / Environments / Prograph Classic 2.6.1 / Prograph Reference Manual / Prograph Reference 5-7 / Prograph Reference 5-7.rsrc / TEXT_134.txt < prev    next >
Encoding:
Text File  |  1995-10-25  |  3.4 KB  |  119 lines

  1. ¬†                    Button 
  2.  
  3. Inherits from:     Click Item    
  4.  
  5.  
  6. _____________________________________________________
  7.  ¬†                     name    *182*
  8.  
  9. Type:  string 
  10.  
  11. Description:  Appears as the text displayed on the ¬´Button¬ª, and used by the primitive find-item to find a ¬´Button¬ª by name.    
  12.  
  13.  
  14.  
  15. _____________________________________________________
  16. ¬†                       owner    *182*
  17.  
  18. Type:  Window 
  19.  
  20. Constraints:    Not settable.    
  21.  
  22. Description:  If ¬´Button¬ª is a member of item list of an active ¬´Window¬ª, then the value of this attribute is that ¬´Window¬ª. Otherwise the value of owner is NULL.    
  23.  
  24.  
  25.  
  26. _____________________________________________________
  27. ¬†                       active?    *182*
  28.  
  29. Type:  boolean    
  30.  
  31. Constraints:    Not settable on default.    
  32.  
  33. Description:    When the value of this attribute is FALSE, the ¬´Button¬ª is drawn gray and does not respond to clicks.     
  34.  
  35. Side effects:  Setting causes ¬´Button¬ª to be redrawn.     
  36.  
  37.  
  38.  
  39. _____________________________________________________
  40. ¬†                       visible?    *182*
  41.  
  42.  
  43. Type:  boolean    
  44. Description:  ¬´Button¬ª is displayed in the owning ¬´Window¬ª if and only if the value of this attribute is TRUE.    
  45.  
  46. Side effects:    Setting causes ¬´Button¬ª to be redrawn in the owning ¬´Window¬ª.     
  47.  
  48.  
  49.  
  50. _____________________________________________________
  51. ¬†                       move?    *183*
  52.  
  53. Type:  boolean    
  54.  
  55. Description:     The location of ¬´Button¬ª is changed relative to the size of the owning ¬´Window¬ª if and only if the value of this attribute is TRUE.    
  56.  
  57.  
  58.  
  59. _____________________________________________________
  60. ¬†                       grow?   *183*
  61.  
  62. Type:  boolean    
  63.  
  64. Description:     The size of ¬´Button¬ª is changed relative to the size of the owning ¬´Window¬ª if and only if the value of this attribute is TRUE.    
  65.  
  66.  
  67.  
  68. _____________________________________________________
  69. ¬†                       location   *183*
  70.  
  71. Type:  Point    
  72.  
  73. Description:    Location of upper left corner of ¬´Button¬ª in the owning ¬´Window¬ª.    
  74.  
  75. Side effects:    Setting causes ¬´Button¬ª to be redrawn.    
  76.  
  77.  
  78.  
  79. _____________________________________________________
  80. ¬†                       size   *183*
  81.  
  82. Type:  Point    
  83.  
  84. Description:    Offset of lower right corner of ¬´Button¬ª from upper left corner.    
  85.  
  86. Side effects:    Setting causes ¬´Button¬ª to be redrawn.    
  87.  
  88.  
  89.  
  90. _____________________________________________________
  91. ¬†                       balloon   *183*
  92.  
  93. Type:     list 
  94.  
  95. Description:    Balloon Help information; format varies with the type (Prograph string or 'STR ', 'STR#', 'TEXT' or 'PICT' resource) of Balloon Help.    
  96.  
  97.  
  98.  
  99. _____________________________________________________
  100. ¬†                       click method   *184*
  101.  
  102. Type:     string 
  103.  
  104. Description:    Name of the method called when a click occurs in the ¬´Button¬ª. If ¬´Button¬ª is the default button of the owning ¬´Window¬ª, pressing the Return key is equivalent to a click on ¬´Button¬ª (unless there is an active Scroll Text item in the window). ¬´Button¬ª is the default button of the owning ¬´Window¬ª if it is the first element in the list of ¬´Window Item¬ªs in the attribute item list of this ¬´Window¬ª. The default button is drawn with a heavy border.    
  105.  
  106. Method inputs:  <owning ¬´Window¬ª>, ¬´Button¬ª, <EventRecord of click>    
  107.  
  108.  
  109.  
  110. _____________________________________________________
  111. ¬†                      control record   *184*
  112.  
  113. Type:  ControlRecord@@    
  114.  
  115. Constraints:    Not settable.    
  116.  
  117. Description:    Control record of ¬´Button¬ª.    
  118.  
  119.